package com.hyh.spring.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.hyh.spring.common.Result;

/**
 * @BelongsPackage: com.hyh.spring.myhandler
 * @ClassName CustomerBlockHandler
 * @Author: hyhWTX
 * @CreateTime: 2023-06-01  21:38
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
public class CustomerBlockHandler {
    public static Result handleException1(BlockException exception){
        return  new Result(4444,"按照客户自定义，global handleException ----->1");

    }
    public static Result handleException2(BlockException exception){
        return  new Result(4444,"按照客户自定义，global handleException ----->2");

    }
}
